TBE: Trigger-By-Example

نویسندگان

  • Dongwon Lee
  • Wenlei Mao
  • Wesley W. Chu
چکیده

Triggers have been adopted as an important database feature and implemented by most major database vendors. Despite their diverse potential usages, one of the obstacles that hinder the triggers from its wide deployment is the lack of tools that aid users to create complex trigger rules in a simple manner. Although the majority of the users of triggers are DBAs or savvy end-users, writing trigger rules is still a daunting task. On the other hand, QBE (Query-By-Example) has been very popular as a user interface for creating queries in an interactive and intuitive manner since its introduction decades ago. It is being used in most modern database products in its disguised form. Since its underlying theory is based on the relational calculus, its expressive power is proved to be equivalent to that of SQL. Therefore, it is an ideal tool for novice users to create simple queries in visual fashion. At the same time, expert users do not have to compromise anything because QBE supports full capability to create complex queries. In this paper, we shall present a novel user interface for creating trigger rules, called TBE (TriggerBy-Example), by marrying the triggers and QBE in a seamless fashion. The visual nature of the TBE makes writing trigger rules much easier. We show how trigger rules in the emerging SQL standard (SQL3) can be represented using the TBE with minimal introduction of new constructs. Further, an algorithm to translate from the TBE to SQL3 triggers is developed and illustrated along with examples. Finally, a preliminary implementation of the TBE is presented as a proof of the concept.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

TBE: A Graphical Interface for Writing Trigger Rules in Active Databases

Triggers have been adopted as an important database feature and implemented by most major database vendors. Despite their diverse potential usages, one of the obstacles that hinder the triggers from their wide deployment is the lack of tools that aid users to create trigger rules. Similar to understanding and specifying database queries in SQL3, it is di cult to visualize the meaning of the wri...

متن کامل

A Framework for implementing Web Scheme Transformers By - Example

Transformers By-Example (TBE) is a concept that facilitates the definition and application of scheme transformers. When defining a conceptual scheme modelers can use scheme transformers, which transform an input scheme into an extended or refined output scheme, for automatically performing modelling tasks. An exemplary modelling task in the sphere of web application modelling is "after having d...

متن کامل

A New Dividend Forecasting Procedure That Rejects Bubbles in Asset Prices

We develop a II(!lV procedllre to forecast flltllre casbjlolVsfrom ajillallcial asset alld tbell lise tbe presellt vallie of ollr casb jlOlV forecasts to calCIIlate tbe asset's f,mdamelltal price. As all example, we COllstrllct a 1I0lllillear AJljfA.-ARCHArtificial Nellral Network model to obtaill Ollt-Ofsample dividelldforecastsf01'1920 alld beyolll/, tlsillg OIlly ill-sample dividelld data. T...

متن کامل

Design of the User-Interface for an Object-Oriented Statistical Data-Base

The concept of an Object-Oriented Statistical Database (OOSD) is rather new. The approach taken in this paper unifies two different traditions leading to OOSD. The first tradition is from ObjectOriented Programming Systems and languages in the Smalltalk tradition. The other tradition is from database systems able to handle more complex objects than records (or segments). Examples of such system...

متن کامل

Web - Scheme Transformers By - Example DISSERTATION

When defining a scheme of a web application, modelers repeatedly perform modelling tasks like “after having defined an entity type, add a page class for displaying the entity type’s content”. Thereby, a scheme is extended again and again in a similar manner. For such recurrent tasks, it would be convenient for modelers to have web scheme transformers (short transformers) that, when applied to a...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2000